html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

.page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main{
    margin-left: 5em;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 200px;
}


body{
    background-color:#F5E2C8;
    color:#A44B22;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight:weight;
    font-style:normal;
    font-variation-settings:100;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: 0;
}

.page-equipe .container {
  margin-bottom: 13em; 
}
.page-catalogue main {
  margin-bottom: 13em;
}
h1,h2,h3{
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style:normal;
    font-size: 100px;
}
.textes{font-size: 2rem;}
.link{
    color:#A44B22;
}
.linkfoot{
    color: white;
    text-decoration: none;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 1.2em 1em;
    text-decoration: none;
}
.nav {
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* hauteur fixe */
  background-color: #AD604E;
  padding: 0 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding-left: 4em;
  font-size: 1.5em;

}

.nav-menu {
  display: flex;
  justify-content: space-between;
  width: 100%; 
  align-items: center;
}
.nav-logo img {
  height: 120px;
  margin-left: 1em;
}

.nav-left, .nav-right {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-left li, .nav-right li {
  margin-right: 1em;
  display: flex;
}

.nav-right li {
  margin-right: 0;
} 
.active{
    text-decoration: underline;
}

.textarea {
  background-color: #AD604E;
  color: white;
  padding: 1em;
  border-radius: 20px;
  border: 0.3rem solid #8B4627;
  resize: none;
  font-size: 1rem;
}

.textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.message-textarea {
  width: 60rem;
  height: 15rem;
  max-width: 100%;
}

.email-textarea {
  width: 60rem;
  height: 2rem;
  max-width: 100%;
}

.button {
  background-color: #AD604E;
  color: white;
  padding: 1em;
  border-radius: 20px;
  border: 0.3rem solid #8B4627;
  width: 170px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
  cursor: pointer;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.5em;
  padding: 2em;
}
@media (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .email,
  .message {
    width: 100%;
  }

  .textarea {
    width: 100%;
    font-size: 1rem;
  }

  .send {
    padding-right: 0;
    justify-self: center;
    display: flex;
    justify-content: center;
  }

  .send .button {
    width: 100%;
    max-width: 300px;
  }
}
.team1{
    width:15rem ;
    height:30rem ;
}
.team2{
    width:20rem ;
    height:30rem ;
}

.cataloguecontainer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3em;
  padding: 0 2em;
  justify-content: flex-start;
  align-items: flex-start;
}

.cataloguecontainer .produits {
  flex: 1 1 250px;
  max-width: 300px;
}

.tri {
  flex-basis: 100%;
  margin-top: 1rem;
}

.produits button {
    width: 300px;
    height: 300px;
    background-color: #B46A55;
    border: 5px solid #8B4627;
    color: white;
    padding: 1em;
    border-radius: 1rem;
    cursor: pointer;
    text-align: center;
}
@media (max-width: 768px) {
  .cataloguecontainer {
    grid-template-columns: 1fr;
  }

  .tri {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }
}
.equipe{
    display: flex;
    justify-content: center;
    display: inline-block;
}

.container{
   display: grid; 
  grid-template-columns: max-content max-content max-content max-content;
  gap: 4em;
  align-items: start;
  grid-template-areas: ". . . ."; 
  margin-top: 2em; 
  margin-bottom: 2em;
}
.roland, .realisateur, .julien, .fondateur {
  display: block;
  margin: 0;
  padding: 0;
}
.roland img, .julien img {
  display: block; 
  max-height: 30rem; 
  object-fit: cover;
}
.realisateur h2, .fondateur h2,
.realisateur p, .fondateur p {
  margin-top: 0;
  margin-bottom: 0.5em;
  padding: 0;
}
.realisateur, .fondateur {
  align-self: start; 
}

.container > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.index {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto;
  grid-template-areas: "intro coffinex";
  gap: 0em 4em;
}
.intro { grid-area: intro; }


.coffinex {
  grid-area: coffinex;
  display: block;
  align-items: center; 
  height: auto;
  width: 100%;
  max-width: 500px;
  padding-top: 10rem;
}
    @media (max-width: 1024px) {
      .index {
          grid-template-columns: 1fr;   
          grid-template-rows: auto auto; 
          grid-template-areas:
          "intro"
          "coffinex";
          text-align: center;  
      }
      .intro h1 {
        font-size: 2.5rem;
      }
        .coffinex img {
    width: 80%;
    max-width: 300px;
    justify-self: center;
  }
  .button{
    justify-self: center;
  }
    }

.information {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 4em;
  flex-wrap: wrap;
}

.informationtxt {
  flex: 1 1 45%;
}

.map {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8.5rem;
}
@media (max-width: 768px) {
  .map {
    margin-top: 0;
  }

  .map iframe {
    width: 100%;
    height: 300px;
  }
}



.footer-section h2{
    font-size: 1em;
}

.footer-contenu{
    display: flex;
}

.footer-section2 h2{
    display: flex;
    font-size: 1em;
}


.footer {
    color: #fff;
    padding: 1.25rem 0; 
    margin-top: 3.125rem; 
    text-decoration: none;
    background-color: #AD604E;
    color: white;
    text-align: center;
    padding: 1.5% 0;
    width: 100%;
    margin: 0;
    font-size: 1em;
    bottom: 0;
}

.footer-contenu {
    display: flex;
    justify-content: space-between;
    max-width: 75rem; 
    margin: 0 auto;
    padding: 0 1.25rem; 
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 0.625rem; 
    min-width: 12.5rem; 
}

.footer-section h2 {
    margin-bottom: 0.9375rem; 
    font-size: 1.125rem; 
    text-transform: uppercase;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0em;
}

.footer-section ul li {
    margin: 0.625rem 0;
    display: block;
    margin: 0;
    padding: 0;
    line-height:0 ;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffa927;
}

.footer-boutton {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    border-top: 1px solid #ffffff;
    padding-top: 0.625rem;
}

.linkfoot {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
  .footer-contenu {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .footer-section {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
  }

  .footer-section ul {
    align-items: center;
  }

  .footer-section ul li {
    margin: 0.5rem 0;
  }
}

.burger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 768px) {
  .burger {
    display: block;
    position: absolute;
    top: 0.4em;
    right: 4em;
  }

  .nav {
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 2em;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #AD604E;
    width: 100%;
    flex-direction: column;
    padding: 1em 0;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-left, .nav-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-left li, .nav-right li {
    margin: 0.5em 1em;
  }

  .nav-logo img {
    height: 80px;
    margin-left: 0.8em;
    flex-direction: start;
  }
}


@media (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    padding: 1em;
    justify-self: center;
  }

  .team1, .team2 {
    width: 80vw;
    max-width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team1 img, .team2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  .realisateur, .fondateur {
    text-align: center;
    padding: 0.5em;
  }

  h1 {
    text-align: center;
    font-size: 2.2rem;
  }

  .textes {
    text-align: center;
    font-size: 1.1rem;
    padding: 0 1em;
  }
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: flex-start;
    gap: 1rem;
    padding: 2rem;
    max-width: 600px;
}

.profile-info p {
    font-family: 'Open Sans', sans-serif;
    margin: 0.5rem 0;
}

.deconnexion {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .profile-container {
        align-items: center;
    }
    .deconnexion{
      align-self: center;
    }
}

@media screen and (max-width: 768px) {
    .panier-container{
      align-items: center;
      align-self: center;
}
}
@media screen and (max-width: 768px) {
    .connexion-container{
      align-items: center;
      align-self: center;
}
}
@media screen and (max-width: 768px) {
    .inscription-container{
      align-items: center;
      align-self: center;
}
}
